/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package bean;

import java.util.Date;

/**
 *
 * @author xuanl_000
 */
public class Complaint {
    private int id;
    private int accId;
    private int cateId;
    private int depId;
    private int techId;
    private int priId;
    private String title;
    private String description;
    private Date dateOpen ;
    private Date dateClose ;
    private int status;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
    private Date createTime ;
    private Date updateTime ;

    public Complaint() {
    }

    public Complaint(int id, int accId, int cateId, int depId, int techId, int priId, String title, String description, Date dateOpen, Date dateClose,int status , Date createTime, Date updateTime) {
        this.id = id;
        this.accId = accId;
        this.cateId = cateId;
        this.depId = depId;
        this.techId = techId;
        this.priId = priId;
        this.title = title;
        this.description = description;
        this.dateOpen = dateOpen;
        this.dateClose = dateClose;
        this.status=status;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getAccId() {
        return accId;
    }

    public void setAccId(int accId) {
        this.accId = accId;
    }

    public int getCateId() {
        return cateId;
    }

    public void setCateId(int cateId) {
        this.cateId = cateId;
    }

    public int getDepId() {
        return depId;
    }

    public void setDepId(int depId) {
        this.depId = depId;
    }

    public int getTechId() {
        return techId;
    }

    public void setTechId(int techId) {
        this.techId = techId;
    }

    public int getPriId() {
        return priId;
    }

    public void setPriId(int priId) {
        this.priId = priId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Date getDateOpen() {
        return dateOpen;
    }

    public void setDateOpen(Date dateOpen) {
        this.dateOpen = dateOpen;
    }

    public Date getDateClose() {
        return dateClose;
    }

    public void setDateClose(Date dateClose) {
        this.dateClose = dateClose;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Complaint{" + "id=" + id + ", accId=" + accId + ", cateId=" + cateId + ", depId=" + depId + ", techId=" + techId + ", priId=" + priId + ", title=" + title + ", description=" + description + ", dateOpen=" + dateOpen + ", dateClose=" + dateClose + ", status=" + status + ", createTime=" + createTime + ", updateTime=" + updateTime + '}';
    }
    
    
}
